public class TestLambda {
    /*
    推导lambda表达式
     */
    public void main(){
        Ilike like = new like();
        like.lambda();
    }
    //定义一个函数接口
}

interface Ilike{
    void lambda();
}
class like implements Ilike{
@Override
public void lambda(){
    System.out.println("i like lambda");
    }
}
